Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@yarnpkg/plugin-typescript
Advanced tools
@yarnpkg/plugin-typescript
@types/
packages into your dependencies when you add a package that doesn't include its own typestypes
to publishConfig
(same behavior as publishConfig.bin
)This plugin is included by default starting from Yarn 4.
This plugin is enabled by default if you have a tsconfig.json
file at the root of your project, or in your current workspace. See tsEnableAutoTypes
for more information.
❯ yarn/packages/plugin-typescript ❯ yarn add lodash
➤ YN0000: · Yarn X.Y.Z
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0.24s
➤ YN0000: ┌ Fetch step
➤ YN0013: │ @types/lodash@npm:4.14.121 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ lodash@npm:4.14.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 3.63s
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 2.75s
➤ YN0000: · Done with warnings in 6.81s
As you can see in the fetch step, even though we only added lodash
into our dependencies, Yarn automatically figured out that we would need @types/lodash
, and added it before we ask it to.
FAQs
Unknown package
The npm package @yarnpkg/plugin-typescript receives a total of 13,240 weekly downloads. As such, @yarnpkg/plugin-typescript popularity was classified as popular.
We found that @yarnpkg/plugin-typescript demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.